package com.laicunba.service;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.laicunba.pojo.ActivityDO;
import com.laicunba.pojo.ScriptDO;
import com.laicunba.pojo.UserDO;

public interface ScriptService extends BaseService {

	List<ScriptDO> list();

	boolean listen(String id);

	boolean stopListen(String id);

	Set<String> findJmsListenScriptIds();

	Map<String, LinkedList<String>> log();

	boolean executeScript(UserDO userDO, ActivityDO activityDO, String subActId);

	Set<String> findActListenScriptIds();
 

}
